﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace MediaPortal.Plugins.Trailers
{
  public class TrailerCollection : Dictionary<string, Trailer>
  {
    // Get the trailer object by key 
    // or create a new trailer object
    public Trailer Set(String key)
    {
      if (!base.ContainsKey(key))
        base.Add(key, new Trailer());

      return base[key];
    } 
  }
 
}
